package cn.bugstack.domain.strategy.service.rule.chain;

/**
 * @Title: AbstractLogicChain
 * @Author tong
 * @Package cn.bugstack.domain.strategy.service.rule.chain
 * @Date 2025/6/2 9:19
 * @description:
 */
public abstract class AbstractLogicChain implements ILogicChain {

    private ILogicChain next;

    @Override
    public ILogicChain appendNext(ILogicChain next) {
        this.next = next;
        return next;
    }

    @Override
    public ILogicChain next() {
        return next;
    }

    protected abstract String ruleModel();
}
